home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ SFP Options 5.xpl < prev    next >
Text File  |  2001-04-12  |  1KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="4"
  3. "COUNT"="1"
  4. "UIPATH"="System\Software Installation\Windows File Protection"
  5. "NAME"="WFP Cache Folder"
  6. "VERSION"="1.02"
  7. "OSVERSION"="0001011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Cache Folder"
  10. "DESCRIPTION 1"="By default, WFP uses the folder "%SystemRoot%\System32" (which translater to C:\WINNT\SYSTEM32) to store the cached versions of the system files but you can enter any path here."
  11. "DESCRIPTION 2"="Please note that WFP will append the folder "DLLCACHE" itself, means if you want to store the cache on E:\MISC\DLLCACHE, enter only E:\MISC as the path."
  12. "DESCRIPTION 3"="To have the default value again, just clear the field."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17.  
  18.  
  19.  
  20. sV1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCDllCacheDir" 'REG_EXPAND_SZ 
  21. 'sV1_Val=4294967295 
  22.  
  23.  
  24. Sub Plugin_Initialize 
  25.     s=RegReadValue(sV1)
  26.  
  27.     if IsEmpty(s)=true then
  28.        Call SetUIElement(1,"") 'default value, set to empty field
  29.     else
  30.        Call SetUIElement(1,s) 
  31.     end if
  32. End Sub
  33.  
  34.  
  35. Sub Plugin_CheckData(ElementIndex)
  36. End Sub
  37.  
  38. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  s=GetUIElement(1)
  40.  if len(s)=0 then
  41.     if RegValueExists(sV1) then Call RegDeleteValue(sV1)
  42.  else
  43.     Call RegWriteValue(sV1,s,4)
  44.  end if
  45.  
  46. End Sub
  47.  
  48. Sub Plugin_Terminate 
  49. End Sub
  50.  
  51.  
  52.  
  53.